package com.aspose.cells.b.a.d;

import java.io.IOException;
import java.io.OutputStream;

public class zj extends zm {
   private OutputStream a;
   private int b = 0;

   public zj(OutputStream var1) {
      this.a = var1;
   }

   public OutputStream j() throws Exception {
      return this.a;
   }

   public boolean d() {
      return false;
   }

   public boolean e() {
      return false;
   }

   public boolean f() {
      return true;
   }

   public long h() throws IOException {
      return (long)this.b;
   }

   public long i() throws IOException {
      return (long)this.b;
   }

   public void b(long var1) throws IOException {
   }

   public long a(long var1, int var3) throws IOException {
      return 0L;
   }

   public void b() throws IOException {
      this.a.flush();
   }

   public void a() throws IOException {
      this.a.close();
   }

   public void a(long var1) throws IOException {
      throw new UnsupportedOperationException("setLength() is not supported for common java.io.OutputStream.");
   }

   public int a(byte[] var1, int var2, int var3) throws IOException {
      throw new UnsupportedOperationException("seek() is not supported for common java.io.OutputStream.");
   }

   public void b(byte[] var1, int var2, int var3) throws IOException {
      this.a.write(var1, var2, var3);
      this.b += var3;
   }
}
